<?php 
session_start();

?>
<html><head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8 without BOM">
        <title></title>
<link media="all" href="FileForInterface/widget42.css" type="text/css" rel="stylesheet"></link>
	<link href="FileForInterface/style.css" rel="stylesheet" type="text/css"></link>
	<script src="FileForInterface/ga.js"  type="text/javascript"></script><script type="text/javascript" src="FileForInterface/stmenu.js"></script><script type="text/javascript" language="javascript1.2" src="FileForInterface/stcode.js"></script>
<style type="text/css">
.sttb{border-style:none;background-color:transparent;background-image:none;}
.sttr{border-style:none;background-color:transparent;background-image:none;}
.sttd{border-style:none;background-color:transparent;background-image:none;}
.stdv{border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;}
.sta:link,.sta:hover,.sta:active,.sta:visited{display:block;border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;}
.sthd{display:none;}
.stsp{border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;}
</style>	
<link rel="stylesheet" href="Public/css/960.css" type="text/css" media="screen" charset="utf-8" />
        <link rel="stylesheet" href="Public/css/template.css" type="text/css" media="screen" charset="utf-8" />
        <link rel="stylesheet" href="Public/css/colour.css" type="text/css" media="screen" charset="utf-8" />

        <script src="Public/js/mootools-core.js" type="text/javascript"></script>
        <script src="Public/js/mootools-more.js" type="text/javascript"></script>
        <script src="Public/js/Source/Locale.en-US.DatePicker.js" type="text/javascript"></script>
        <script src="Public/js/Source/Picker.js" type="text/javascript"></script>
        <script src="Public/js/Source/Picker.Attach.js" type="text/javascript"></script>
        <script src="Public/js/Source/Picker.Date.js" type="text/javascript"></script>
        <link href="Public/js/Source/datepicker.css" rel="stylesheet"/>

	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-2238900-5']);
	  _gaq.push(['_setDomainName', '.bantayso.com']);
	  _gaq.push(['_trackPageview']);
	  (function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
	</script>
	
	<script type='text/javascript'>
function MainPage(){
document.getElementById('duchv').src='Home/Home.php';
//document.getElementById('frmenu').src='menu/home.php';
}

function BookRoom(){
document.getElementById('duchv').src='User/BookRoom.php';
//document.getElementById('frmenu').src='menu/home.php';
}

function BookInfor(){
document.getElementById('duchv').src='User/BookInfor.php';
//document.getElementById('frmenu').src='menu/nguphap.php';
}

function FeeInfor(){
document.getElementById('duchv').src='User/FeeInfor.php';
//document.getElementById('frmenu').src='menu/baitap.php';
}

function RoomBookInfor(){
document.getElementById('duchv').src='User/RoomStatus.php';
//document.getElementById('frmenu').src='menu/bainghe.php';
}

function PersonalInfor(){
document.getElementById('duchv').src='User/PersonalInfor.php';
//document.getElementById('frmenu').src='menu/nghenhac.php';
}

function Register(){
document.getElementById('duchv').src='Login/Register.php';
//document.getElementById('frmenu').src='menu/download.php';
}

function SearchUser(){
	document.getElementById('duchv').src='Admin/SearchUser.php';
}

function CreateUser(){
	document.getElementById('duchv').src='Admin/CreateUser.php';
}
function ConfirmUser(){
	document.getElementById('duchv').src='Admin/ConfirmUser.php';
}

function SearchRoom(){
	document.getElementById('duchv').src='Admin/SearchRoom.php';
} 
function CreateRoom(){
	document.getElementById('duchv').src='Admin/CreateRoom.php';
}
function FeeOfUser(){
	document.getElementById('duchv').src='Admin/FeeOfUser.php';
}
function FineInput(){
	document.getElementById('duchv').src='Admin/Fine.php';
}
function OrderOfUser(){
	document.getElementById('duchv').src='Admin/SearchOrder.php';
}
function CreateCSV(){
	document.getElementById('duchv').src='Admin/CreateCSV.php';
}
</script>
    <style type="text/css">
<!--
.style1 {
	font-size: 24px;
	color: #0000FF;
}
-->
    </style>
    </head><body>
<div id="DB">
        <?php
               
           include 'Login/LibAccount.php';
                
        ?>
</div>




<!-- For Header and thanh Bar -->
<?php 
include_once 'View/header.php';
include_once 'View/menu_index.php';
?>
<!-- For Header -->

<!-- End header-->

<!-- Thanh Bar -->

<!-- End of thanh Bar -->
<!-- End of header & thanh Bar -->


<!--For thanh menu trai & content-->

<div align="center" id="content" >

	<table width="960px" align="center">
		<tbody>
			<tr>
				<!--For thanh menu trai -->
				<td valign="top" width="251">
				    <!--Set submenu -->
					<?php 
					include_once 'View/User/left_menu.php';
					?>
									</td>
				<!--End thanh menu trai -->
				
				<td valign="top" width="2" bgcolor ="#F0F0F0"></td>
				<!--For content o giua -->
				<td valign="top" width="695">  
<?php
$url = $_GET['url'];
if(!isset($_GET['url'])) $url='home/home.php';
?>
				<div  >
				<iframe id ="duchv" <?php if(strlen($url)>2) echo "src ='$url' ";?>
				width="100%"  height=1000px scrolling="auto" frameborder="0">				</iframe>
				</div>

			  <div style="overflow: hidden; clear: both; height: 10px;"></div>				</td>
			</tr>
			<tr>
				<td valign="top" height="0px" colspan="3"></td>
			</tr>
		</tbody>
	</table>
</div>

<!--For footer -->
<?php
                                include_once 'View/footer.php';
?>

</body>
</html>